import request from '@/utils/request'
export default {

    //登录
    userLogin(consumer) {
        return request({
            url: `/educonsumer/consumer/userLogin`,
            method: 'post',
            data:consumer
        })
    },

    //传token获取用户信息
    getUserInfo(){
        return request({
            url: `/educonsumer/consumer/getUserInfo`,
            method: 'get'
        })
    }
    
}